first unit and integration test for term suggest