Add bewit test vector, fix timestamp encoding in format strings