Converted old testcases

Observation: datawarehouse example needs rework