ticket:5 tests for models