Test case for scalar types.