fixes #2887
added test scope to tomcat libs
Merge pull request #3084 from mesutcelik/responseAlreadyCommited

Cannot create a session after the response has been committed Problem