add codeclimate test coverage
Photo model spec added