fix tests
remove duplicate dependency
fix test
Merge pull request #1730 from dennishendriksen/master

Fix tests + build warning