Fix bad test query.
Remove LITERALS token type, just use SEQUENCE.
Make unmapped attributes an error (cause for bad test query above).