Java test code for 2013