Fixed DeprecationWarning in tests

Fixing this warning
"DeprecationWarning: django.conf.urls.defaults is deprecated; use django.conf.urls instead DeprecationWarning)"