fix unit tests after changes in framework

required w.r.t. https://github.com/hpcugent/easybuild-framework/pull/891