wrote tests, did not test...  fixed
added tomcat bats test