refactor -> fix transcription error
fixed up repr to be a bit nicer
tests use py.test framework now