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