Add simple unittests.

These tests ensure yaraprocessor produces proper matches
given some simple rules in both uncompiled and compiled form.