test case for scatter