Add test to verify that depency packages get deleted when no longer in lock file