Neural network reconstruction of late-time cosmology and null tests