Removing all the stuff about context management that does not belong in kakra
Fixing tests