updated functional test to include adding a cart