calculator test: fixing method test