test a basic calculator