Use print function in tests