add signature generation to Ant task and upgrade test to JUnit4