Added testcases for the footer and a complex scenari