fix bad tests