Fixed test fx for test failures with library loading