Added gtest and gmock and a first unit test. Added option to disable building of tests