added some spec test and updated the address model