Refactoring and testing

Refactored ImportJob::import_datasets into smaller methods
Added some test cases for Project model.
Added fixtures