added tests for select of DBAgentMySQL with a condition.