Calculator tests before implementing compound structs