integration tests for regex validator