Fixed tests not compiling on VS10.