added test for getKeyword