added java resources test