Testing Django framework