fixed unit-test