add tests
open close continue