add behat test for pin register #2273

#2273