fixed a test not running in IDE