adding test for reading correct header of an existing db