Refactoring in system test to support older MW versions

Change-Id: Iaa486cd1f3c01c61d365f4007b342e0f73b83a83
Update TravisCI config to have the tests run on different MW versions

Change-Id: Ice2661499fb0cac51e68830f4f1b82e83261a8c4