Added WebTestCase for functional tests