Adding java testing