adding tests for models