Added constructor test for self-dependencies.
Added constructor test for self-dependencies.

Made the error more clear when a self-dependency is detected

jakejs/jake,kedashoe/jake,kedashoe/jake,cesarmarinhorj/jake,talves/jake,vinodpanicker/jake,talves/jake,talves/jake,cesarmarinhorj/jake,vinodpanicker/jake,cesarmarinhorj/jake,kedashoe/jake,jakejs/jake,vinodpanicker/jake