Improve test suite

all tests are now passing with python 2.7.8 and python 3.4.1 on archlinux