gras: make use of test_thread_priority api call