Add test for scalar