Added derivation test, reference files, and stub implementation