combine the two tests