adding more tests for regex spec