Create character device and destroy it.