Write test for Ajax cart