Fix tests in make distcheck