Split tests for creation of a mock for a native object