Beginning to write unit tests and behavior tests to cover all of utils.py