sexp tests and corresponding fixes in sexp parser

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>