add photo model phpunit test