added assert failure for tests that run in record mode