simple unit tests for models