that happened to me too. i was writing some code and i ran the test and it worked. then i've added few new lines of code and it gave me such error. i did undo of that new lines of code and ran it again...but it gave same error, again. it pisses me off.
if anyone knows a solution to this i'd appreciate if you can tell us