Added some tests and properties to photo class.