Fixed a bug in dependency solver and added a test for this bug
Merge pull request #69 from ddrone/bugfix

Fixed a bug in dependency solver and added a test for this bug