fixed hanging test