test: Add a flag for tests that need console recording