I'd say that adding a separate /x/ or /exp/ package can also be a good way of testing out new things - very clearly a separate "experimental" thing, which can be tested independently
Using a fork of the module is also a good suggestion and a way to make sure it's not even in the main repo, but gives you mostly the same codebase to be able to test things











