Test of all inpro cases is implemented. Needs Refactoring.