Added swift itest and improvements to test code

*Work of swift was checked
*Some methods have moved in base.py

Change-Id: I86d1d4cbe6d965aa9731087c2201519554806c6b
Merge "Added swift itest and improvements to test code"