Prepare tria for in-source export

Signed-off-by: Alexander Siol <dunklermeuchler@gmail.com>
Move tst_tria to Core

Signed-off-by: Alexander Siol <dunklermeuchler@gmail.com>