pass test for keys beginning with pattern