Fix tests of variables commands

Order of displaying of instance variables is not guaranteed, so fixed
the test to not expect some specific order