created tests for models