add a test for legacy struts