Fix the tests to account for the changes in Ubuntu 14.04.