fixes, end-to-end tests

postgres is case insensitive in table names. All table names are stored in lower case. fast_seqassign is case sensitive.