implemented signature matcher

also added tests for the signature tester (yo dawg!)