Fix tests for pear::module