tests for compra and frete nulls added