add tests to cover most of bin/liberate-me