Do you know what it would take to make this into a register-test.js file? Not needed for this PR.