Fix scope checker spec