SERVER-8046 Additional unit tests based on gcov coverage results

This revealed a long latent defect with injecting a new left sibling
in the middle of the sibling chain, which has been fixed.