Test code was refined.