fix calculator tests