Add some stubs speeding up test suite

Some recent changes added about 4 minutes to test runtime because some
validation was trying to connect to the outside and it took lots of time
for it to fail.

Change-Id: I88f64c698822c712a07021ffc653a01e67fb7d7b
Merge "Add some stubs speeding up test suite"