Add leading zero's prefix test, remove endl after tree output.