add destroy callback to destroy environment's selftests
add device name to selftest views