simplify config()
refactor test a little
matcher api