Foreman: fixing tests

Change-Id: Iddc4509e3e093d7eaacc1972f9f636c336d29b21