Added TestSession class for js executor