Add test for static:: and self:: in closures

Summary: We got paranoid after looking at another closure diff.

Reviewed By: @paulbiss

Differential Revision: D1587471