[DO NOT MERGE][WIP] Tests for foreman-tasks

Base for writing tests