More test code for screen cast.