Added unit test for all methods implemented.