+send "topic #channel :Test-Topic\r"
+expect {
+ timeout { exit 1 }
+ ":nick!~user@* TOPIC #channel :Test-Topic"
+}
+
+send "who #channel\r"
+expect {
+ timeout { exit 1 }
+ "352 nick #channel ~user * nick H@ :0 User"
+}
+expect {
+ timeout { exit 1 }
+ "315 nick #channel"
+}
+
+send "names #channel\r"
+expect {
+ timeout { exit 1 }
+ "353 nick = #channel :@nick"
+}
+expect {
+ timeout { exit 1 }
+ "366 nick #channel"
+}
+
+send "list\r"
+expect {
+ timeout { exit 1 }
+ "322 nick #channel 1 :Test-Topic"
+}
+expect {
+ timeout { exit 1 }
+ "323 nick :End of LIST"
+}
+