Added unit tests for class WebServer.

Signed-off-by: Aleksandar Dezelin <dezelin@gmail.com>