Add bad client key to test, clean up, docs