Finished all input output tests for NULL handling