Fix 10/21
Fix 12/21
Fix 13/21
Fix 14/21
Fix 15/21
Fix 16/21

Say that I only do what the above function does. Since I'm checking the
configuration, which by definition keeps state, I want to see that my functions
operate properly under a scenario of detach/attach. This can be considered as a
functional test.
Fix 17/21
Fix 18/21