derivative tests