Added tests for Module class