added a matching module and some tests