tests: check basestring handling

* Checks issue when basestring was handled as iterable. (addresses #6)

Signed-off-by: Jiri Kuncar <jiri.kuncar@gmail.com>