More fixes for TypeTests & Mono.Data.Sqlite