Install transaction dependency

This seems to solve the issue with Travis tests working in a different way than locally.