Fixed test issue.

This PR fixes the catalog.scala spec failing.