WebInterface unit testing