fix unit test: bad initialization