Fix unit tests
Merge pull request #4 from dungpa/printf

Fix unit tests