add simple regression test suite

Not much, but at least should catch stupid formatting errors.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>