Reverse package list to install required dependancies first
Add a test for issue #1934
Merge pull request #1934 from piwai/develop

Pip doesn't detect dependancies that failed to install