CSPACE-5385: Fix bash tests for empty and non-empty strings.