Some basic unit tests for model