Put test compilation into a macro.
Using gtest_main for all tests
Added unit tests for ptrace interface