primitive_tests uses gtest framework

fifo_tests does not run under gtest

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