Added tests for token events