better way to run tests