added the test cases and the first method #319