unit test added for mask store and mask scatter