Add scoping spec and made them pass