get and set for coord with tests