calculator tests