Update test to run under django 1.7