added tests for methods impl