Allow reading of test /proc/cpuinfo data

This will allow the test to pass in a test cpuinfo data rather than
reading from the host system.

Also move the test and test data to a dedicated directory.

Change-Id: Ib6c06db6b1226adba2100e6758a8cfd4d46d8b9d