added tests for mondels