Add tests for pin_creation from existing pin