SprintfEngine class and tests