Fix common terms unit test