Added unit test and base functions