#5107 remove some testcode