Start unit testing

 * Import googletest as a default C++ test runner to achieve cross platform regression testing
 * Create actual test case to prevent reproduce of #51 
 * Write some samples for other people to begin writing tests easily

currently, I tested against OSX port only. But I believe it can be adopted to other environments without much pain.