more tests for model.coffee