Fix gui tests