tests: Port the quick key manipulation test to Scheme.