More unit tests
Footnote fix
Unit test for footnotes
Fix for footnotes test