added Java test
just one more to go oh god