added test for keyword decoding