Added tests for encoding type shortcuts