Destroy the session after a test

This can help with one hard-to-find bug in tests.

Steps to reproduce will be provided.
For my mind it is work for `session_destroy()` to clear all traces of any session even closed. But maybe `session_close()` must clear them. To be more sure I have to dig a lot into the php source code.