token generator test passed