python tests
works fine, documentation needed