Testing for eclipse