add a few tests
add matches method