add tests for raw transactions