About three months ago I wrote about a bug in TFS2010. The specific errorcode is:
TF270015: MSTest.exe returned an unexpected exit code. Expected '0', actual '1'
The problem is a compatibility issue between the old (2008 version) MSBuild.exe and the new buildserver. The issue is know as KB983504, which finally has a hotfix. Download the hotfix here.