MDL-40921 mod_workshop: fix unit tests