virtual-stb: Fix and add test for custom key mappings