_From @syclik on March 10, 2015 17:48_ the distribution tests currently don't check if the derivatives are `nan`. I think they should. _Copied from original issue: stan-dev/stan#1358_