Cosmetic change in tests
Add tests of formatAxis and pullVarAsArray
Simplify pullVarAsArray (which makes it look unnecessary)