added more tests for methods