tests fixed so they pass for travis ci