Format test and remove volatile, probably not needed for here

I'd guess volatile will prevent compiler to hard code the variable and is needed for GWT but not here