Add trivial test to java

Just added a test that tests all tokens. Its a trivial piece of code to add; just walking through the developer process with. Though am I meant to reference the issue from the pull request or from the commit to the branch? I did not create an issue in this instance as I was not sure.