Isn't the testnet supposed to be as similar as possible to the live network? Instead of making this dependent on whether it's the testnet or not, why not use a command line option instead?