Run tests before pushing.
Handle the case where there are no generic photos.
Provide json body on errors.