making ScanActivityTest to test new features in search
Added TAG var for debug purposes. Reorganized code for Arel Abstraction