fixed tests so they run