add pin register behat test #2273

#2273