[Test] Refactor payload()'s use_cuda to device param in test_profiler…