Testing fixes for varregions
Removed some whitespace
Removed some unreferenced variables