fixed wrong location of test