Feature #5027:remove test code