fixed tests and fixed views

fixed tests for create_section, section_class_list, and section_user_list, also added new tests for resource_link_id, and fixed views.py where resource_link_id was missing from template render calls.


Same comments about mocking the `check_resource_link_id` function and consolidating checks applies to next two tests below.