adding photoView and galleryView tests
done with unit tests
beginning to add functional tests for photoView