added test folder with unit tests class, added web folder with test web project, fixes some static getters and the websockethandler upgrade request logic