fix serialize test for nbformat 4

just noticed because the test couldn't be run with phantom
debug