Add test for subsites.
Fix comments.
Merge pull request #4144 from openscholar/4133-test

Add test for subsites.