smartxml: fix tests - extensions needs to be registered before querying nodes