changing subscribe to attach in gui tests