Added some code for testing reverse dependencies