finish basic calculation page with tests