Moved library version tests to common.cpp