fix pin tests