This is down purely to not allowing not cross context scopes. The shared examples must therefore be declared and run from the same scope, which due to the way these spec's are written (they deliberately declare themselves outside of the current scope) looks a bit odd, because the spec's themselves are a bit odd.