Define test data directory

tests._data_dir now hold the path of tests/data, for easy use by
test modules.

Change-Id: Ifb9ce65ce60216dc3cbd4ae866ead99568136867
Merge "Define test data directory"