fix commons-web test code