A tester for QuantumPhi/FractionCalculator