Added some match tests, but only matches files so far.

Clearly needs some refactoring here if I'm going to get dirs, too.