Added test for IR #276

@cmather -- notice that it fails against master. Good job!