Add spec tests for params and prerun_command

Prior to this commit we did not have spec tests for the params and
prerun_command classes. This commit adds spec tests for these classes
Whitespace