Split off CheckLibraryVersions.test.cpp.

Reviewers: @vinniefalco @josh-ripple