fixed tests to use root_path for home