assert.throws, started function parameter tests
created messages module
making repr consistent