improve test suite

This pull request fixes some whitespace issues in the test suite, converts from Test::Unit to Minitest, and adds a basic constructor test.