Add initial unit tests for module.run state function
Added another test to module.run state unit tests
Remove debugging lines
Merge pull request #16942 from rallytime/module_state_tests

Added unit tests for module state