Adding cmake test infrustructure