tests for token put