Tests paint invalidation and painting of outline around an empty box. Passes if there is a green square.