passing the calculator tests