Added some tests
Added staff_required to ajax views
urls.defaults are deprecated, removed.