Google has one essential test when it thinks about buying a company