"2" is the testnet counterpart of "1" legacy addresses (compressed or uncompressed IIRC), whereas the segwit native testnet addresses are... I think "bt1"
P2PKH script address equivalent (legacy starting with 1 on mainnet) starts with m or n on testnet
P2SH script address equivalent (legacy starting with 3 on mainnet) starts with 2 on testnet
P2WPKH script address equivalent (native SegWit starting with bc1 on mainnet) starts with tb1 on testnet