Update test cases
Tidy up exact derivatives