Add separate tools class, add assertAny and extendScope functions