Add test for cart records