added show and update functions to test controller, modified index function in question controller, added cardinality functions in section, test and question models, modified index and show.blade views for test and question