Added DTBlockFunctions
added missing \n EOF
Added unit test for block functions