Removed /tests/ api and updated test file. Also removed model.map.