Fixed a few broken tests for the lib module.