You are testing the change on both core folders and site folders in the same test. If the first assert fails the other case won't have test coverage. How about splitting up this test into two?