Fixed changes to chat.py that were reverted in error.

The earlier fix for Issue #16 got reverted when the unit test code was updated. This meant that although the fix worked for most of the ALTER CHAT commands it still fails for ALTER CHAT BOOKMARK and ALTER CHAT UNBOOKMARK.

This correction fixes Issue #16 also for those two commands and also means the unit tests now function correctly.