[cleanup] Remove some unnecessary blank spaces
[feature] Support expected to be a string, and not a JSON-object
[test] fix failing tests
[test] Add test where expected is a string