test variable rules