missing linefeed (lint)
more tests + improved session id generation