interfaces/python: added more tests