Tests

A simple test suite.