Fix unittests by checking if request.basket is a SimpleLazyObject