changed test to visit root_path