primitive\_tests uses gtest framework

fifo\_tests does not run under gtest

FIXME: getch.[ch] are copied from ../../../../frameworks/wilhelm/tests/sandbox/