fix stuff that breaks when offline
Fix (sorta) formatting for gentest example