Independent tests for jdk1.7

This pull requests fixes the issue "Ant build fails in tests when using jdk1.7: okay when using jdk1.6 (#54)" by merging tests which must run in a particular order, and by using separate temporary directories where output files are shared.