tester main for case study 1