Added unit test to check for parameters.

refs #9063