test to run nignix and tomcat