test added for module pattern.