Added first test with py.test
more tests
More tests, and fixing bugs