Merge pull request #5 from dbeck/master

integrated google test and added a simple test case
Fixing shared_ptr usage.
Getting stucked with google tests and makefile. Does not compile.
Merge pull request #6 from szilardhuber/master

Getting stucked with google tests and makefile. Does not compile.
build fixes