wrote working test for directions