add the test from bug #17 to master as well, even though master was not affected.
add the test from bug #17 to master as well, even though master was not affected.

emmanueltouzery/prelude.ts,emmanueltouzery/prelude.ts,emmanueltouzery/prelude.ts