#697: add tests support for cleaning together with JAVA SOURCE Type.