Changed println to fail() and added empty string test.