filter backends during initial generation to elide tests entirely

fixes #976