python/tests/test_specdesc.py: check for wrong values