Added direction. Added tests for direction and uncovered color functions