refactor test and container to use the webforge common interface for session