Added file removal tests for Java.