update total in test function
added basic cart