Updated tests to use Django Client instead of requests