Fixing #164 and Adding more spec for named_scopes