Refactored testing tools to handle apps without a models module.