Add numeric derivative tests