Added basic unit test for utils