Minor: tomcat.dir wasn't defined and test pass without this
Remove ability to run tests in debug mode