testing a get by id method