Adding tests and gtest.
Correct failing test and add new test for library version string.
Merge pull request #1 from hsorby/master

Add tests