Cast the test parameters to avoid a warning if volatile is used