Add test for direction option