try to move clear functionality out of webgateway cache and into test suite