use stacktrace flag on tests to avoid exit

gradle does weird stuff on System.exit