Increase sleep time after seeding in jenkins test
Fix functional tests so that it will pass in Jenkins