Update spec to test transaction flag in both cases