fix tests for djnago 1.5