Implement web test case

@cournape: Implement most basic test running and assertion.

Possible test assertions are contributed with plugins to make it easy to extend without changing core code.