Wider abstract test coverage and py3k support, bugfixes, cross-platform improvements