Updated this to use webtestcase instead of unit test.