split out at tests
move open, close tests in to shared