Auto-changing light test. Seems to have some memory double-free issue.