Added tests for moduleoptions