Add failing test for deleting dynamic dependencies

Found in ember's build process.
Merge pull request #133 from twinturbo/dynamic-deletion-fix

Add failing test for deleting dynamic dependencies