Created the test class for the MasterClass.java. Tests all public methods used in the masterclass.