Add testcases for Converter.

function init
function prepare
function getTemplate