Unit Tests

- Removed debugging output from test - that was not helping.
- Added more basic tests because FreeBSD is misbehaving.