tests for construction of mongo query
start of cli for testing purposed