Added test cases for Java triangle enumeration example jobs