* integration testing scripts
some scripts for integration testing and a docker file for an action.
Still need to figure out how to properly run a more realistic version
in ci.
* update
* changes
* db shutdown racecondition fix
* changes per pr
* changes per code review
* fix testing
* add shutdowncalled bool to db