Add test for subsites.

#4133 

Added test for /subsites access and migration class for department sites.