Add tests, using py.test