Merge "RefBase: test for stack check"