tomcat unit test

Change-Id: Iee37f18997fd35002a6caef30d1672d54be7d49d