Wpf designer unit tests

The unit tests in this pull request was added to cover the fixes in my previous pull request that was missing test cases.
You can find my previous pull request here: https://github.com/icsharpcode/SharpDevelop/pull/43