Make APNs functional specs more reliable.
Fix specs on MRI 2.2.0