Added TestCase to test against the actual terms in the database.