Make the tests pass

(It sucks that we have to explicitly enumerate all the transitive
package dependencies in the test setup, and keep them updated when other
packages change their dependencies.)