Comparison among different notions of solution for the $p$-system at a junction