hopefully fixed unit test