fixed a unit test that failed