ido: Fix timeperioddbobject lock.
Add check output for NullCheck.
Update test check output.