fixing tests in real mode.