Java test web application