refactor out the duplicate logic into methods
add test for 1 item B added to basket
add test for 1 item C added to basket
refactor test code to remove duplication