Fixed error in Catalog test since getPrimaryKey is not required to throw an exception.