add unit test that use cache and thus raise bug in stock-cache
prevent setting a group_by as related key if it is a known group_by

some script pass group_by=('function_uid',) instead of group_by_function=1, resulting behaviour in the end must be the same