redo the work in gemgem in order to make single test runnable
capture_logs
post does not exist test
only close it if it's not yet closed (why some systems act differently?)