Fixed tests by Imagic.