Decorator "ajax_required" is tested now.
Wrote tests for utils.views.