CVE-2014-1947: add testcase

Change-Id: I71b1fa7cfb536e49801752ae8ba48428918b6a36