adding serialization test with requisite natives

@jvilk: is there a nice way to check the call stack for user-defined
class loaders? (see `latestUserDefinedLoader`)