Add library tests
Merge pull request #291 from hindessm/test-library

Add library tests