Enable RAF and fix tests