fix Postal#register, improve test case