Zigbee Aqara door/window contact sensor - How to test it?

You probably need to install a driver for those. There isn't a built in driver as far as I am aware. Use the table in the first post in the link below.

[Release] Xiaomi / Aqara device drivers