tests for regex and immuno