added location model spec and factory, update all model spec