use correct dependency
fix test
make test more robust
try to fix selenium tests by using waitForCondition