PHPUnit tests for 50_mw_ext_loaderTests.php

I am going to slightly refactor the MediaWiki extension loaded and
thought it could use some tests.

Change-Id: Ib043d76c047a9834b7b9a4877695b4945577231f