nbconvert api tests fixes