add tests to cover xlinks flexibility