Add tests for applying vt340 built-in palette