added more e2e tests for viewer