adding workgroup viewer search tests, refactored custom SQS