created tests to fix (already fixed) issue with regex