Add session plugin tests