fix bug where test not recognized