Fix PdoAdapter unit-tests