Java test for recruitment