added buergschaft test and necessary changes due to historization concept