Fail

Although the Travis tells you that the build is okay, it is not. That's because ant doesn't fail on JUnit failures by default. This pull request fixes that behaviour and it fixes the tests, too.