Code and integration test for reopening needs

This has still to get more tests, but committing all available code due to holiday break.
Unit, functional, and integration tests for reopening needs
Update assertion for correct message in update need test