added integration test for users and photos index page