Spec for lib and issue #1644