run the right kind of test