Qatar wins test match before World Cup