Test case 2 – should reject string with only spaces