add examples for enums, async, and deferred loading

That code is not actually in the text, but it's just a little test of the text's assertion that you can call loadLibrary multiple times.