Java test for online repo