Fixed tests to work with cmocka 0.4.1
Added character codes for alt-left, alt-right
Merge branch 'master' into plugins