Updated controller tests for package page
Fixed type error in basket