[NRefactory] Fixed failing unit tests.