adding functional tests to the unit tests for all but galleryView