Fixed BSONTest.testUTF8 so that it compiles with Java 6.