unit test for Bug 1079865 - Fix gaia build system on windows

add unit test for it.