rename module name
Add tests and implementation for validation pattern