fixed typo
Added RegExp tests