Update test_unistd_io to use registerDevice/mkdev
Update remaining tests to use registerDevice/mkdev