tests: Use a single set of scripts for running both P2P and AP tests