Fix ReferenceTest so that it still works under Java6

git-svn-id: http://kryo.googlecode.com/svn/trunk@358 a9660ef0-a895-11de-8ba5-91705c1537ed