Fixed some weird test bug that only occurred in Eclipse