fix tests for raw transactions