Added test code for Militia