fixup! Self-Tests: Improve sandboxing
fixup! Allow passing a numpy array as a template to match functions