Fixed problem with tests not being run correctly