Added more robust item serialization test