Check session parameter
after-make-frame-functions hook
frames tests