Monte Carlo tests with nuisance parameters: and nonstandard asymptotics