Since the function was only exported for use by the test package (and was commented as such), just move it into the internal_test.go file so it is only available when the tests run.
This commit adds 100% test coverage for the new code. This brings the overall btcec coverage up to 99.76%.