Fix in object reference resolving.
Initial textx language tests.