format code
base class for calculator tests