modified readme and added a test