Make sure the  container is well started prior to perform the test
Wait for the container to finish in TestAttachDisconnect before destroying it
Improve TestMultipleAttachRestart to avoid unnecessary warning
Remove unecessary memeory limit within tests