Added testReturnValueOfGetDirection

Change-Id: I343e1d5ca850dafa1fc14f0d3ec897743a5c1b78