changed relative date to enable exclusive last n day, with inclusive being default. added some more test