sessionmiddleware test added