add a regression test for surface selection
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The tricky part is making the test pass when compositing gets turned on by selection. Right now there are no compositing tests because the test driver can't guarantee that the client's window is topmost (or something to that effect). Either fix that or submit a test after selection is made to work without compositing.