Add test for token map initialization at startup (JAVA-415).