work on derivative tests