adds test for postgres empty array cast