Mode : add `isLoaded` and `onLoad` and update the tests to verify loading