documentation for utils, cosmetic updates and tests
documentation for utils, cosmetic updates and tests