Update calculateClassTest.java

Code reviewed