added calculus tests