Added test to check that getKeyword throws when asked for non-existing keyword