Fix keywords method test