Unit test fixes for silverlight