test: add AMF0 write() null and undefined tests