small corrections
full test coverage for setupdb_app except the fakedata
fix failing test