fixed bad tests