added grouped where scalar test