Add tests, Travis support and test-required accessors