Implementing executeQuery in ModelManager
Add tests for the ModelManager::executeQuery method