Add tests for Cart entity