Adding more auto tests in printing generic api