Removes erronous comments before test attributes