Fixed test. Added logging fx