Test case for /keys/

Figured out the test case stuff. This makes sure the JSON version is there and returns something as an attachment.