Perltidy cleanup.

Signed-off-by: Daniel T. Staal <DStaal@usa.net>
Adding real tests.

Added basic tests for the module (doesn't test *correct* output yet - just that there is the right *amount* of output, which should cover most cases.)

Signed-off-by: Daniel T. Staal <DStaal@usa.net>