Fixed compile issue on OSX, improved date printing in inquiretest