Added unit test to Methods_Test.java file