Extract calculator testing to a helper