Added simple test cases for our utility functions.