Add internal testing for the stress test framework

This adds a unit test for StressAction class and a end2end test
case for the whole stress test framework.

Change-Id: I4d30a131c75736fa05ba63f71cd731374f7fb9ba
Merge "Add internal testing for the stress test framework"