Servlet test fixes
ServletWriter fixed - previous implementation was not synchronized correctly