Adding a simple lib and a pfunit testcase

This commit adds a simple library and two tests. One test is
a pFUnit testcase and can be executed using ctest by running
"make test" (or "ctest")