Unit test for scram wrapper.

See #375.
Remove condition that will never be false.

See #375.