Fixing StyleCop settings, finishg unit tests