was their tension over slavery in the 1840's?

Yes.