Solution of the test from Mobly.