Adapted tests to commit 4ccfb42c536a85231410d29751f481720194f764
Added unit-test for Tria

This somewhat big unit-tests tests all aspects of Tria using a header
file written for this purpose. The test itself only uses
Nuria::MetaObject to query all kinds of data from the code generated
by Tria to verify the results.