No, but I tested it manually. Plus, most of Foursquare has been using this for a week and it seems OK. I'm not sure how to test this more rigorously.

As far as I can tell this is a necessary consequence of the fact that Source objects always represent an entire source file? I assume that if internal dependencies are changed to be on classes instead of source files then this will no longer be true, but then in that case none of this will be necessary anyway...