Add test asserting scalar inputs panic