small changes to test-gmm.py