Added tests for promotion of military in barracks. Updated model to handle tests.