adding tests for model.js > getFiles()
simplifying test cases by using complex data