unit tests for key_matcher and matches functions
added example test
added readme