Fix tests and update Vagrantfile.