Add unit test for #1491
Add unit test for #1491

maruel/ninja,nicolasdespres/ninja,maruel/ninja,sgraham/ninja,ndsol/subninja,bradking/ninja,ninja-build/ninja,nico/ninja,AoD314/ninja,nicolasdespres/ninja,mydongistiny/ninja,atetubou/ninja,Qix-/ninja,mydongistiny/ninja,martine/ninja,atetubou/ninja,AoD314/ninja,Qix-/ninja,Qix-/ninja,ninja-build/ninja,mydongistiny/ninja,nicolasdespres/ninja,nico/ninja,bradking/ninja,ndsol/subninja,iwadon/ninja,ninja-build/ninja,sgraham/ninja,ndsol/subninja,ninja-build/ninja,AoD314/ninja,iwadon/ninja,Qix-/ninja,sgraham/ninja,sgraham/ninja,maruel/ninja,iwadon/ninja,maruel/ninja,atetubou/ninja,ndsol/subninja,nico/ninja,bradking/ninja,martine/ninja,mydongistiny/ninja,iwadon/ninja,atetubou/ninja,AoD314/ninja,martine/ninja,nicolasdespres/ninja,nico/ninja,bradking/ninja,martine/ninja