refactoring with ReSharper; experiments with UIA unit tests