signedness and sign cleanup, also removed unused field in prefix struct, supported -dev versions in test