fix(test): change sleeps slightly
test(container): add tests and smaller refactorings