set token test method