Updated Cart to validate items. Updated initial tests to reflect new API.