Fix sf1.4 kernel test by mocking container method