Fix extraneous dependency in unit test