Fixed some StyleCop issues; Added logging to UI test