allow container behavior to be overriden for testing containers