Update Java tests to 4.4
(cherry picked from commit 77c9bd747e3d2816368e4e42b33d7891d8a9da7d)