Add test case for case-insensitive string comparison without LIKE
Fixes nocasing issue on postgres
Fixes nocase in memory adapter