added return checking to organization api tests