infinite looping in test, grrr