bootstraps source/tests
introduces case class
allows appending test cases
returns callback for matched element