Fixes a bug in description generation in test cases.