Bunch of modifications enabling testing of nginx init state