fix bad unit test