Added logging module usage
Enhanced UnlockTestbed and LockTestbed to handle killing process Ids