test variable working