Implemented 10 units tests for utility methods.