test of passing in token