Updates for spark tests

I've updated to latest spark framework version and did some other minor tweaks. Also added the new plain text test.

I could also try to resolve the db issue (mentioned in #151) in this pull request if I can get some input why the server fails with status code 500. A stack trace or some hint from resin logs could be helpful.