Test for saving session and then reusing

Signed-off-by: Daniel Platt <github@ofdan.co.uk>