initial utils/test helper code, creating tests