Added ability to call function with extra tests

Added ability to call function with extra tests
configurable via $wgERTTestFunction