use fromchange=&tochange= instead of dates in nightly pushlog url
fix wrong uses of mock.assert_called and mock.assert_called_once