Moved testdata to tests/testdata and updated corresponding unit test files

Change-Id: I95dedc48bb4ffa886a9f4aaf47a7c5dca9ff222a