Renames GasPrice to TotalGasPrice and adds unit tests.