Added new test case which does not rely on printf