Added unit tests and fixed issues with the Web Operations.

597u, 90i