unit tests for the delete keys service