Java testing for new client