Add tests for non-literals as well: typeof foo == someType