adding tests for Module class