added setup + teardown for tests

Added setup/teardown for tests
Changed pythonpath so that tests accept the path of the source instead of the installed package
These should fix issues #10 / #11.