tdd on cart validation