add test for retrieving keywords