Issue #15, added a basic test.