Fix tests in Eclipse, and add "ant test".