Use the new API that works by claiming the device and then deleting the prints. Fixes: #26
These utilities are generally useful beyond only testing purproses. And, since it is desirable to have automated tests inside the tests subdirecty, it makes sense to move them elsewhere.