test spec for dynamic selection of line numbers