fixed conditional to allow for missing app configs
added potentially useful line to test.rb (but commented out)