Fixing automated test and vagrant test