Expanded testing

This adds tests for at least two common use cases where this library works fine on `sqlite`, but fail *at least* in `postgresql`.

Right now, this PR only adds tests and doesn't make any attempt to fix the broken examples. It only serves to reveal them.

This is PR is an extension of #18.