Fixed up some tests and added some characterisation tests. Also did a nuget package update