Test with Requestanimationframe