Add test of derivatives