Added test checker.
Fixed some tests in webapp.view.