[Eden] Create a Generic Test Function for Report Tests
completed by: Aviral Dasgupta
mentors: Michael Howden
http://eden.sahanafoundation.org/wiki/Contribute/QA#CreateaGenericTestFunctionforReportTests
completed by: Aviral Dasgupta
mentors: Michael Howden