travis: Add tests for builtin printf hook implementation