Added simple unit test to Methods class