Add test for modifying the global API after subclassing.