Add test cases for getting the total credit hours in quarter