fix stringification, add unix tests