added direction change tests