Added test for #1404
LazySpecifierExpressions can also capture (#1404)
Fixed test that failed because of fix for #1404