fixed tests for homes controller