Properly mocks dependent classes to begin testing migrate.php