CFY-1500 update get attribute validate to allow all scopes and change some validations + add tests