Add integration tests for homepage
Fix errors in homepage when there is no photos in database