test derivation