Tidy test.

Remove unused variable.
Restore partial match functionality.

Closes #10.
Merge pull request #11 from deoxxa/feature/partial-match

Feature/partial match