formula revisions wip
test_keg: make mode an ivar
test_keg: reduce noise by including FileUtils