Regex tests: Should be able to use back references to replace groups