Added a unit test for the Main-Class warning in write-jar