added tests for cart service