Gravar-mail: Testing in semiparametric models with interaction, with applications to gene-environment interactions