added tests for methods model