Added functional tests for gallery

Fixes #821 - Adds BVTs in FunctionalTests folder.