Add 3d-fallback tests for binary functions