More functions, tests, and finite difference testing