gras: tweaks to the python unit test