Fixed tests, added test for ecj.