Tests

Version 1.0.0 with a complete test suite.