Testing a parameter restriction on the boundary for the g-and-h distribution: a simulated approach