Fix all the unit test cases on Windows Phone platform.