Add test for regexp comparison.