fix init pinCode test case