Joint Test of Parametric and Nonparametric Effects in Partial Linear Models for Gene-environment Interaction