Add a test for the op version (but not for grad yet).