test for scalar param