Added tests for getPhoto()