add key matcher and expectation
add support for contain flag in key matcher