Fixed the post test cleanup issues for website tests


<!---@tfsbridge:{"tfsId":2307431}-->