Fixed py.test, added runtests, version file and gitignore