Fix builtins patching for tests

Has to do the try/except import funny-business with builtins.