Tests: fix log tests
Tests: add messages to test data
Tests: fix message tests
Tests: add project stack rows to test data set
Treenode table: don't require stack for a query