fix variable test