Tests of Local Functionals for Predicting Condensed-Phase Structural and Electronic Properties, Including Nanoporous Materials