Add missing test for Factory.create underscore fix

Here’s a test for @simonprev’s last commit (52a638280967a91bac0862aa87b0267fb0517735).