Write tests and logic for turning robot in different directions