unit test does not work