Add in basic testing. Modify class to allow filtering of patterns