test arithmetic expressions