Fixed py3k support. Reduced tests.