To test a single installed device, type:
ok test device-specifier
In general, if no message is displayed, the test succeeded.
Many devices require the system's diag-switch? parameter to be true in order to run this test.