That's some super optimistic numbers you chose there. There's no reason to believe that at this point in time a Raptor engine is only half as much as a less complex Merlin engine.
The loss of three engines per test is by far the most costly part of the operation. How much an engine costs right now, I don't know of course, but I'm very confident it's more than $2 million a piece.