Added abort() for impossible code branch in sample test