QA: Moving some common test steps into a 'common' file.

Change-Id: Ic0027487f9cf845c0b2e0e57345ab28ff61da33d
Merge "QA: Moving some common test steps into a 'common' file."