Test calculator