allow testing html separately, add websocket stubbing