Test for #771, hangs in nose