Fixing bug in setDefaultCodec; added unit test for bug
Addressed comments.
Merge pull request #288 from phoglund/fix_g722

Fixing bug in setDefaultCodec; added unit test for bug