fixed code typo in readme
added keys code
added test