keyword algorithm integration test