test variable impl