Fix unit tests after changing the number of items per page in images media library