Print_valid test can pass