More unit tests for Models.