Update the unit test of module_executor.rb

Signed-off-by: Connor Yan <126ium@gmail.com>