fixed block not matching the right day
improved tests