Fixing pagination tests compilation