bej_tree: initialize node attribute format

While initializing the parent and child nodes, initialize the reserved
bit of the node attribute format to prevent unexpected reserved bit
setting.

And also override gtest's PrintTo function to avoid accessing
uninitialized areas due to structure alignment.

Tested:
Run test cases pass

Change-Id: I5b113f47c41ad15de578b80bf5e859f3b0c40503
Signed-off-by: Brian Ma <chma0@nuvoton.com>
diff --git a/test/bej_decoder_test.cpp b/test/bej_decoder_test.cpp
index 2aa9f0e..55b4358 100644
--- a/test/bej_decoder_test.cpp
+++ b/test/bej_decoder_test.cpp
@@ -17,6 +17,11 @@
     const BejTestInputFiles inputFiles;
 };
 
+void PrintTo(const BejDecoderTestParams& params, std::ostream* os)
+{
+    *os << params.testName;
+}
+
 using BejDecoderTest = testing::TestWithParam<BejDecoderTestParams>;
 
 const BejTestInputFiles driveOemTestFiles = {