Test handle type before testing writable