fixed bugs with method calls added expected files and insertion sort function call test