Update test logic add recording