Corrected error, added debug for spec on travis (will be removed)