Add integration tests

Change-Id: I0873da3f0ddc73722f3d8506fde463da9d39cea9
Fixed issue with tarballs.

Closes-Bug: #1271068

Change-Id: I6f3035b19655313bb481650af69d9681cae02cb7
Merge "Add integration tests"