Test solution for http://www.cis.upenn.edu/~bcpierce/sf/deps.html