added c test framework for printf tests