Add class xmdnode for testing