Fix the elastic test