Fixes tree test so that it compiles with no host or kernel errors
Updates device_test with more info readouts