Updated test cases for JavaProb1S1