added common.cpp explicitly to tests