Provide validation functionality and tests