tests: Add test to check access to static __thread variable

This is a regression test to check that access to
static __thread variable does not generates page fault.

Signed-off-by: Zika L'Etrange <zika.letrange@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>