Minor unit test changes

Summary:
This adds some more unit test support for type expressions,
and switches a few over to `<?hh`.

Test Plan: No.

Reviewers: pad

Reviewed By: pad

Differential Revision: https://phabricator.fb.com/D797822

Task ID: 2355974