add test for session open handlers