Fixed an issue with TeamCity and the unit tests