Add rfpid scan test, move common setup to one method.