test cases for CVE-2014-1761

Change-Id: I8fa160818e5981090aadea7d4691b8acc61f0b40