create test to see if the current number is defined in the calculator class